package com.whfc.common.vs.ezviz.constant;

/**
 * @Description: 螢石云API
 * @author: likang
 * @version: 1.0
 * @date: 2021/3/2 10:34
 */
public class EzvizConstant {

    private EzvizConstant() {
    }

    /**
     * 是否支持PTZ key
     */
    public static final String IS_SUPPORT_KEY = "support_ptz";

    /**
     * 不支持云台错误码
     */
    public static final Integer DEVICE_OTHER_ERROR_CODE = 4;

    /**
     * 萤石云获取AccessToken URL
     */
    public static final String ACCESS_TOKEN_URL = "https://open.ys7.com/api/lapp/token/get";

    /**
     * 萤石云获取有效期直播地址 URL
     */
    public static final String EXPIRE_STREAM_PLAY_URL = "https://open.ys7.com/api/lapp/live/address/limited";

    /**
     * 萤石云获取直播地址 URL
     */
    public static final String STREAM_PLAY_URL = "https://open.ys7.com/api/lapp/live/address/get";

    /**
     * 萤石云获取直播地址 URL 新接口
     */
    public static final String STREAM_PLAY_URL_V2 = "https://open.ys7.com/api/lapp/v2/live/address/get";

    /**
     * 萤石云添加设备 URL
     */
    public static final String CREATE_DEVICE_URL = "https://open.ys7.com/api/lapp/device/add";

    /**
     * 萤石云修改设备 URL
     */
    public static final String MODIFY_DEVICE_URL = "https://open.ys7.com/api/lapp/device/name/update";

    /**
     * 萤石云删除设备 URL
     */
    public static final String DELETE_DEVICE_URL = "https://open.ys7.com/api/lapp/device/delete";

    /**
     * 萤石云获取设备信息 URL
     */
    public static final String DEVICE_INFO_URL = "https://open.ys7.com/api/lapp/device/info";

    /**
     * 萤石云开启直播 URL
     */
    public static final String START_DEVICE_URL = "https://open.ys7.com/api/lapp/live/video/open";

    /**
     * 萤石云关闭直播 URL
     */
    public static final String STOP_DEVICE_URL = "https://open.ys7.com/api/lapp/live/video/close";

    /**
     * 萤石云截图 URL
     */
    public static final String GET_SNAPSHOT_URL = "https://open.ys7.com/api/lapp/device/capture";

    /**
     * 萤石回放存储信息 URL
     */
    public static final String GET_RECORD_URL = "https://open.ys7.com/api/lapp/video/by/time";

    /**
     * 获取摄像头列表
     */
    public static final String GET_CAMERA_LIST_URL = "https://open.ys7.com/api/lapp/device/camera/list";

    /**
     * 获取视频列表
     */
    public static final String GET_VIDEO_LIST_URL = "https://open.ys7.com/api/lapp/live/video/list";

    /**
     * 开启云台操作
     */
    public static final String START_PTZ_URL = "https://open.ys7.com/api/lapp/device/ptz/start";

    /**
     * 停止云台操作
     */
    public static final String STOP_PTZ_URL = "https://open.ys7.com/api/lapp/device/ptz/stop";

    /**
     * 获取设备能力集
     */
    public static final String DEVICE_CAPACITY_URL = "https://open.ys7.com/api/lapp/device/capacity";

    /**
     * 设备解密
     */
    public static final String DEVICE_DECRYPT_URL = "https://open.ys7.com/api/lapp/device/encrypt/off";

    /**
     * 国标设备列表
     */
    public static final String GB_LICENSE_LIST = "https://open.ys7.com/api/v3/device/register/gb/license/list";
}
